package com.xywl.escort.view.farm.rank;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.RankingListResp;

public class SubscribeRankContract {

    public interface Presenter extends BasePresenter {
        void takeView(SubscribeRankContract.View view);

        void loadRankingList(String projectId, int pageNum);
    }

    interface View extends BaseView<Presenter> {
        void loadRankingListSuccess(RankingListResp.DataBean dataBean);

        void loadRankingListFailure();
    }
}
